package cn.tth.test.game.bean;

import java.util.HashMap;
import java.util.Map;

public class BeanApplicationContext {

    protected static Map<String,BeanDefinition> beanContext = new HashMap<>();

    protected static Map<Class<?>,BeanDefinition> beanClassContext = new HashMap<>();

    public static String getDefinitionNameByClass(Class<?> aClass){
        return beanClassContext.get(aClass).getDefinitionName();
    }
}
